<?php
define('MINI_RUN', true);
require 'mini.php';
Mini::checkLogin();
?>
<!DOCTYPE html>
<html>
<head>
<base target="mainFrame" />
<title>导航菜单--<?=Mini::NAME?>后台管理系统</title>
<?=Mini::ADMIN_CSS?>
<style type="text/css">
body,ul,li{
	margin:0px;
	padding:0px;
}
#leftWrapper{			
	width:150px;
	font-family: "Lucida Grande","Trebuchet MS",Verdana,Helvetica,sans-serif;	
}
.menuItem{
	background: url("../images/navBtnBg.gif") repeat-x scroll left bottom #CCC;
	color: #006DA8;
	display: block;
	font: bold 0.9em/2.4em "Lucida Grande","Trebuchet MS",Verdana,Helvetica,sans-serif;
	height: 30px;
	padding: 0 20px;
	position: relative;
	text-decoration: none;
	cursor:pointer;
}
.menuItem .statusIcon{
	border: medium none;
	position: absolute;
	right: 5px;
	top: 10px;
}
.submenu{
	list-style:none outside none;
}
.submenu li{
	margin:0px;
	padding:0px;
	border-bottom:1px solid #EEE;
}
.submenu li a{
	color: #333;
	cursor: pointer;
	display: block;
	font: 0.9em/2.3em "Lucida Grande","Trebuchet MS",Verdana,Helvetica,sans-serif;
	padding: 0 10px;
	text-decoration: none;
}
.submenu li a:hover{
	background:none repeat scroll 0 0 #DFDCCC;
	color:white;
}
</style>
<?=Mini::JQUERY_JS?>
<script type="text/javascript" src="../js/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "menuItem",
	contentclass: "submenu",
	revealtype: "click",
	mouseoverdelay: 200,
	collapseprev: true, 
	defaultexpanded: [0],
	onemustopen: false,
	animatedefault: false,
	persiststate: true,
	toggleclass: ["unselected", "selected"],
	togglehtml: ["suffix", ' <img class="statusIcon" src="../images/plus.gif" />', ' <img class="statusIcon" src="../images/minus.gif" />'],
	animatespeed: 500,
	oninit:function(expandedindices){
	},
	onopenclose:function(header, index, state, isuseractivated){
	}
});
</script>
</head>
<body>
<div id="wrapper">
	<div id="leftWrapper">
			
		<div class="menuItem">栏目管理</div>
		<ul class="submenu">
			<li><a href="addClass.php">添加栏目</a></li>
			<li><a href="manageClass.php">管理栏目列表</a></li>
		</ul>

		<div class="menuItem">文章管理</div>
		<ul class="submenu">
			<li><a href="addPage.php">添加文章</a></li>
			<li><a href="managePage.php">管理文章列表</a></li>
		</ul>
		
		<div class="menuItem">模板管理</div>
		<ul class="submenu">
			<li><a href="addTemplate.php">添加模板</a></li>
			<li><a href="manageTemplate.php">管理模板列表</a></li>			
		</ul>
		
		<div class="menuItem">变量标签管理</div>
		<ul class="submenu">
			<li><a href="addVariable.php">添加变量标签</a></li>
			<li><a href="manageVariable.php">管理变量标签列表</a></li>			
		</ul>
		
		<div class="menuItem">Ajax提示管理</div>
		<ul class="submenu">
			<li><a href="addAjaxData.php">添加Ajax提示</a></li>
			<li><a href="manageAjaxData.php">管理Ajax提示列表</a></li>			
		</ul>
		
		<div class="menuItem">其他模块管理</div>
		<ul class="submenu">
			<li><a href="manageHome.php">管理首页内容</a></li>
			<li><a href="welcome.php">生成静态HTML文件</a></li>
			<li><a href="siteMap.php">生成SiteMap</a></li>
			<li><a href="executeSQL.php">执行SQL语句</a></li>
		</ul>
		
	</div>
</div>
</body>
</html>
